package com.zoroki.student_score_system.service;

import com.zoroki.student_score_system.domain.Major;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Administrator
* @description 针对表【major】的数据库操作Service
* @createDate 2025-06-30 12:49:22
*/
public interface MajorService extends IService<Major> {
    List<Major> findAllMajor();
    Major findMajorById(int id);
    boolean updateMajor(Major major);
    boolean deleteMajor(int id);
    boolean addMajor(Major major);
}
